-
Notifications
You must be signed in to change notification settings - Fork 749
FEC histogram with ability to clear stat #4075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| parser.add_argument('-D', '--delete-all', action='store_true', help='Delete all saved stats') | ||
| parser.add_argument('-e', '--errors', action='store_true', help='Display interface errors') | ||
| parser.add_argument('-f', '--fec-stats', action='store_true', help='Display FEC related statistics') | ||
| parser.add_argument('-fh', '--fec_hist', action='store_true', help='Display FEC histogram') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-fh may lead to confusing. Linux convention is -fh == -f -h
* FEC histogram with ability to clear stat (#4075) * Removed extra new line * Correct sequence numbers in counter_bucket_dict * Using len(counter_bucket_dict) instead of BUCKET_NUM * Modified BUCKET_NUM to 66 and added FEC counter bin handling in cnstat_print * Added unit-test to improve code coverage * Fixed SA warning --------- Co-authored-by: Prince George <[email protected]>
|
hi @mihirpat1 , do you mind to help create a manual PR to 202412? |
|
hi @mihirpat1 , gently ping again. do you mind to help create a manual PR to 202412? |
@r12f Per my understanding, this is not planned for 202412. @prgeor Please correct me if I am wrong |
What I did
Added new CLI "portstat -fh" for displaying the FEC histogram which accounts for clear counter by "portstat -c"
How I did it
Added new CLI